home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / unix / volume23 / flex2.3 / part03 < prev    next >
Encoding:
Internet Message Format  |  1990-10-10  |  51.5 KB

  1. Subject:  v23i039:  Flex, a fast lex replacement, Part03/10
  2. Newsgroups: comp.sources.unix
  3. Approved: rsalz@uunet.UU.NET
  4. X-Checksum-Snefru: 1f4894c5 1ca63de8 3846b7ca 6c0f31ea
  5.  
  6. Submitted-by: Vern Paxson <vern@cs.cornell.edu>
  7. Posting-number: Volume 23, Issue 39
  8. Archive-name: flex2.3/part03
  9.  
  10. #! /bin/sh
  11. # This is a shell archive.  Remove anything before this line, then feed it
  12. # into a shell via "sh file" or similar.  To overwrite existing files,
  13. # type "sh file -c".
  14. # The tool that generated this appeared in the comp.sources.unix newsgroup;
  15. # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
  16. # Contents:  initscan.c.01
  17. # Wrapped by rsalz@litchi.bbn.com on Wed Oct 10 13:23:59 1990
  18. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  19. echo If this archive is complete, you will see the following message:
  20. echo '          "shar: End of archive 3 (of 10)."'
  21. if test -f 'initscan.c.01' -a "${1}" != "-c" ; then 
  22.   echo shar: Will not clobber existing file \"'initscan.c.01'\"
  23. else
  24.   echo shar: Extracting \"'initscan.c.01'\" \(49644 characters\)
  25.   sed "s/^X//" >'initscan.c.01' <<'END_OF_FILE'
  26. X/* A lexical scanner generated by flex */
  27. X
  28. X/* scanner skeleton version:
  29. X * $Header: /usr/fsys/odin/a/vern/flex/RCS/flex.skel,v 2.16 90/08/03 14:09:36 vern Exp $
  30. X */
  31. X
  32. X#define FLEX_SCANNER
  33. X
  34. X#include <stdio.h>
  35. X
  36. X
  37. X/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
  38. X#ifdef c_plusplus
  39. X#ifndef __cplusplus
  40. X#define __cplusplus
  41. X#endif
  42. X#endif
  43. X
  44. X
  45. X#ifdef __cplusplus
  46. X
  47. X#include <stdlib.h>
  48. X#include <osfcn.h>
  49. X
  50. X/* use prototypes in function declarations */
  51. X#define YY_USE_PROTOS
  52. X
  53. X/* the "const" storage-class-modifier is valid */
  54. X#define YY_USE_CONST
  55. X
  56. X#else    /* ! __cplusplus */
  57. X
  58. X#ifdef __STDC__
  59. X
  60. X#ifdef __GNUC__
  61. X#include <stddef.h>
  62. Xvoid *malloc( size_t );
  63. Xvoid free( void* );
  64. X#else
  65. X#include <stdlib.h>
  66. X#endif    /* __GNUC__ */
  67. X
  68. X#define YY_USE_PROTOS
  69. X#define YY_USE_CONST
  70. X
  71. X#endif    /* __STDC__ */
  72. X#endif    /* ! __cplusplus */
  73. X
  74. X
  75. X#ifdef __TURBOC__
  76. X#define YY_USE_CONST
  77. X#endif
  78. X
  79. X
  80. X#ifndef YY_USE_CONST
  81. X#define const
  82. X#endif
  83. X
  84. X
  85. X#ifdef YY_USE_PROTOS
  86. X#define YY_PROTO(proto) proto
  87. X#else
  88. X#define YY_PROTO(proto) ()
  89. X/* we can't get here if it's an ANSI C compiler, or a C++ compiler,
  90. X * so it's got to be a K&R compiler, and therefore there's no standard
  91. X * place from which to include these definitions
  92. X */
  93. Xchar *malloc();
  94. Xint free();
  95. Xint read();
  96. X#endif
  97. X
  98. X
  99. X/* amount of stuff to slurp up with each read */
  100. X#ifndef YY_READ_BUF_SIZE
  101. X#define YY_READ_BUF_SIZE 8192
  102. X#endif
  103. X
  104. X/* returned upon end-of-file */
  105. X#define YY_END_TOK 0
  106. X
  107. X/* copy whatever the last rule matched to the standard output */
  108. X
  109. X/* cast to (char *) is because for 8-bit chars, yytext is (unsigned char *) */
  110. X/* this used to be an fputs(), but since the string might contain NUL's,
  111. X * we now use fwrite()
  112. X */
  113. X#define ECHO (void) fwrite( (char *) yytext, yyleng, 1, yyout )
  114. X
  115. X/* gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
  116. X * is returned in "result".
  117. X */
  118. X#define YY_INPUT(buf,result,max_size) \
  119. X    if ( (result = read( fileno(yyin), (char *) buf, max_size )) < 0 ) \
  120. X        YY_FATAL_ERROR( "read() in flex scanner failed" );
  121. X#define YY_NULL 0
  122. X
  123. X/* no semi-colon after return; correct usage is to write "yyterminate();" -
  124. X * we don't want an extra ';' after the "return" because that will cause
  125. X * some compilers to complain about unreachable statements.
  126. X */
  127. X#define yyterminate() return ( YY_NULL )
  128. X
  129. X/* report a fatal error */
  130. X
  131. X/* The funky do-while is used to turn this macro definition into
  132. X * a single C statement (which needs a semi-colon terminator).
  133. X * This avoids problems with code like:
  134. X *
  135. X *     if ( something_happens )
  136. X *        YY_FATAL_ERROR( "oops, the something happened" );
  137. X *    else
  138. X *        everything_okay();
  139. X *
  140. X * Prior to using the do-while the compiler would get upset at the
  141. X * "else" because it interpreted the "if" statement as being all
  142. X * done when it reached the ';' after the YY_FATAL_ERROR() call.
  143. X */
  144. X
  145. X#define YY_FATAL_ERROR(msg) \
  146. X    do \
  147. X        { \
  148. X        (void) fputs( msg, stderr ); \
  149. X        (void) putc( '\n', stderr ); \
  150. X        exit( 1 ); \
  151. X        } \
  152. X    while ( 0 )
  153. X
  154. X/* default yywrap function - always treat EOF as an EOF */
  155. X#define yywrap() 1
  156. X
  157. X/* enter a start condition.  This macro really ought to take a parameter,
  158. X * but we do it the disgusting crufty way forced on us by the ()-less
  159. X * definition of BEGIN
  160. X */
  161. X#define BEGIN yy_start = 1 + 2 *
  162. X
  163. X/* action number for EOF rule of a given start state */
  164. X#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  165. X
  166. X/* special action meaning "start processing a new file" */
  167. X#define YY_NEW_FILE \
  168. X    do \
  169. X        { \
  170. X        yy_init_buffer( yy_current_buffer, yyin ); \
  171. X        yy_load_buffer_state(); \
  172. X        } \
  173. X    while ( 0 )
  174. X
  175. X/* default declaration of generated scanner - a define so the user can
  176. X * easily add parameters
  177. X */
  178. X#define YY_DECL int yylex YY_PROTO(( void )) 
  179. X
  180. X/* code executed at the end of each rule */
  181. X#define YY_BREAK break;
  182. X
  183. X#define YY_END_OF_BUFFER_CHAR 0
  184. X
  185. X#ifndef YY_BUF_SIZE
  186. X#define YY_BUF_SIZE (YY_READ_BUF_SIZE * 2) /* size of default input buffer */
  187. X#endif
  188. X
  189. Xtypedef struct yy_buffer_state *YY_BUFFER_STATE;
  190. X
  191. X#define YY_CHAR unsigned char
  192. X# line 1 "scan.l"
  193. X#define INITIAL 0
  194. X/* scan.l - scanner for flex input */
  195. X# line 5 "scan.l"
  196. X/*-
  197. X * Copyright (c) 1990 The Regents of the University of California.
  198. X * All rights reserved.
  199. X *
  200. X * This code is derived from software contributed to Berkeley by
  201. X * Vern Paxson.
  202. X * 
  203. X * The United States Government has rights in this work pursuant
  204. X * to contract no. DE-AC03-76SF00098 between the United States
  205. X * Department of Energy and the University of California.
  206. X *
  207. X * Redistribution and use in source and binary forms are permitted provided
  208. X * that: (1) source distributions retain this entire copyright notice and
  209. X * comment, and (2) distributions including binaries display the following
  210. X * acknowledgement:  ``This product includes software developed by the
  211. X * University of California, Berkeley and its contributors'' in the
  212. X * documentation or other materials provided with the distribution and in
  213. X * all advertising materials mentioning features or use of this software.
  214. X * Neither the name of the University nor the names of its contributors may
  215. X * be used to endorse or promote products derived from this software without
  216. X * specific prior written permission.
  217. X * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
  218. X * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  219. X * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  220. X */
  221. X
  222. X#ifndef lint
  223. Xstatic char rcsid[] =
  224. X    "@(#) $Header: /usr/fsys/odin/a/vern/flex/RCS/scan.l,v 2.9 90/06/27 23:48:34 vern Exp $ (LBL)";
  225. X#endif
  226. X
  227. X#undef yywrap
  228. X
  229. X#include "flexdef.h"
  230. X#include "parse.h"
  231. X
  232. X#define ACTION_ECHO fprintf( temp_action_file, "%s", yytext )
  233. X#define MARK_END_OF_PROLOG fprintf( temp_action_file, "%%%% end of prolog\n" );
  234. X
  235. X#undef YY_DECL
  236. X#define YY_DECL \
  237. X    int flexscan()
  238. X
  239. X#define RETURNCHAR \
  240. X    yylval = yytext[0]; \
  241. X    return ( CHAR );
  242. X
  243. X#define RETURNNAME \
  244. X    (void) strcpy( nmstr, (char *) yytext ); \
  245. X    return ( NAME );
  246. X
  247. X#define PUT_BACK_STRING(str, start) \
  248. X    for ( i = strlen( (char *) (str) ) - 1; i >= start; --i ) \
  249. X        unput((str)[i])
  250. X
  251. X#define CHECK_REJECT(str) \
  252. X    if ( all_upper( str ) ) \
  253. X        reject = true;
  254. X
  255. X#define CHECK_YYMORE(str) \
  256. X    if ( all_lower( str ) ) \
  257. X        yymore_used = true;
  258. X#define SECT2 1
  259. X#define SECT2PROLOG 2
  260. X#define SECT3 3
  261. X#define CODEBLOCK 4
  262. X#define PICKUPDEF 5
  263. X#define SC 6
  264. X#define CARETISBOL 7
  265. X#define NUM 8
  266. X#define QUOTE 9
  267. X#define FIRSTCCL 10
  268. X#define CCL 11
  269. X#define ACTION 12
  270. X#define RECOVER 13
  271. X#define BRACEERROR 14
  272. X#define C_COMMENT 15
  273. X#define ACTION_COMMENT 16
  274. X#define ACTION_STRING 17
  275. X#define PERCENT_BRACE_ACTION 18
  276. X#define USED_LIST 19
  277. X#define CODEBLOCK_2 20
  278. X#define XLATION 21
  279. X# line 84 "scan.l"
  280. X
  281. X/* done after the current pattern has been matched and before the
  282. X * corresponding action - sets up yytext
  283. X */
  284. X#define YY_DO_BEFORE_ACTION \
  285. X    yytext = yy_bp; \
  286. X    yyleng = yy_cp - yy_bp; \
  287. X    yy_hold_char = *yy_cp; \
  288. X    *yy_cp = '\0'; \
  289. X    yy_c_buf_p = yy_cp;
  290. X
  291. X#define EOB_ACT_CONTINUE_SCAN 0
  292. X#define EOB_ACT_END_OF_FILE 1
  293. X#define EOB_ACT_LAST_MATCH 2
  294. X
  295. X/* return all but the first 'n' matched characters back to the input stream */
  296. X#define yyless(n) \
  297. X    do \
  298. X        { \
  299. X        /* undo effects of setting up yytext */ \
  300. X        *yy_cp = yy_hold_char; \
  301. X        yy_c_buf_p = yy_cp = yy_bp + n; \
  302. X        YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  303. X        } \
  304. X    while ( 0 )
  305. X
  306. X#define unput(c) yyunput( c, yytext )
  307. X
  308. X
  309. Xstruct yy_buffer_state
  310. X    {
  311. X    FILE *yy_input_file;
  312. X
  313. X    YY_CHAR *yy_ch_buf;        /* input buffer */
  314. X    YY_CHAR *yy_buf_pos;    /* current position in input buffer */
  315. X
  316. X    /* size of input buffer in bytes, not including room for EOB characters*/
  317. X    int yy_buf_size;    
  318. X
  319. X    /* number of characters read into yy_ch_buf, not including EOB characters */
  320. X    int yy_n_chars;
  321. X
  322. X    int yy_eof_status;        /* whether we've seen an EOF on this buffer */
  323. X#define EOF_NOT_SEEN 0
  324. X    /* "pending" happens when the EOF has been seen but there's still
  325. X     * some text process
  326. X     */
  327. X#define EOF_PENDING 1
  328. X#define EOF_DONE 2
  329. X    };
  330. X
  331. Xstatic YY_BUFFER_STATE yy_current_buffer;
  332. X
  333. X/* we provide macros for accessing buffer states in case in the
  334. X * future we want to put the buffer states in a more general
  335. X * "scanner state"
  336. X */
  337. X#define YY_CURRENT_BUFFER yy_current_buffer
  338. X
  339. X
  340. X/* yy_hold_char holds the character lost when yytext is formed */
  341. Xstatic YY_CHAR yy_hold_char;
  342. X
  343. Xstatic int yy_n_chars;        /* number of characters read into yy_ch_buf */
  344. X
  345. X
  346. X
  347. X#ifndef YY_USER_ACTION
  348. X#define YY_USER_ACTION
  349. X#endif
  350. X
  351. X#ifndef YY_USER_INIT
  352. X#define YY_USER_INIT
  353. X#endif
  354. X
  355. Xextern YY_CHAR *yytext;
  356. Xextern int yyleng;
  357. Xextern FILE *yyin, *yyout;
  358. X
  359. XYY_CHAR *yytext;
  360. Xint yyleng;
  361. X
  362. XFILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  363. X
  364. X#define YY_END_OF_BUFFER 121
  365. Xtypedef int yy_state_type;
  366. Xstatic const short int yy_accept[341] =
  367. X    {   0,
  368. X        0,    0,    0,    0,    0,    0,  119,  119,    0,    0,
  369. X        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
  370. X        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
  371. X        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
  372. X        0,    0,    0,    0,  121,   19,    7,   18,   19,   16,
  373. X        1,   17,   19,   19,   19,   15,   67,   59,   60,   53,
  374. X       67,   66,   51,   67,   67,   67,   50,   49,   67,   52,
  375. X      120,   47,  119,  119,   28,   29,   28,   28,   28,   28,
  376. X       31,   30,   32,   73,  120,   69,   70,   72,   74,   88,
  377. X       89,   86,   85,   87,   75,   77,   76,   75,   81,   80,
  378. X
  379. X       81,   81,   83,   83,   83,   84,   99,  104,  103,  105,
  380. X      105,  100,  100,  100,   97,   98,  120,   33,   91,   90,
  381. X       22,   24,   23,  107,  109,  108,  111,  113,  114,  115,
  382. X       95,   95,   96,   95,   95,   95,   95,   38,   35,   34,
  383. X       38,   38,   44,   42,   45,   44,   44,   41,   41,   41,
  384. X       40,   41,    7,   18,    0,   16,    1,   17,    0,    2,
  385. X       14,    8,    0,   12,    4,    0,    0,    5,    0,    3,
  386. X       15,   59,   60,    0,    0,   56,    0,    0,    0,  117,
  387. X      117,  117,   55,   54,   55,   50,   49,   63,   50,    0,
  388. X       47,   46,  119,  119,   28,   28,   28,   28,   28,   31,
  389. X
  390. X       30,   71,   72,   85,  118,  118,  118,   78,   79,   82,
  391. X       99,    0,  102,    0,  101,  100,  100,  100,    0,   33,
  392. X       22,   20,  107,  106,  111,  112,   95,   95,   95,   92,
  393. X       95,   95,   95,   38,   35,   38,   38,   42,    0,   43,
  394. X       43,   43,   42,   40,    0,   13,   14,    8,    8,    0,
  395. X       12,    4,    0,    0,    0,    5,    0,    6,   57,    0,
  396. X       58,    0,   64,    0,    0,  117,  117,   55,   55,   65,
  397. X       63,   28,   28,   28,   25,    0,  118,  118,  100,  100,
  398. X        0,   21,   92,   92,   95,   95,   38,   38,    0,   39,
  399. X       43,   43,    0,   11,    4,    0,   11,    0,    0,    5,
  400. X
  401. X        0,    0,    0,  117,   28,   28,  118,  100,  100,   95,
  402. X       95,   38,   38,   43,    0,    9,    0,    0,    0,   28,
  403. X       28,  100,  100,   95,   95,   38,   38,    0,    0,   26,
  404. X       27,   93,   94,   93,   94,   36,   37,   10,   62,    0
  405. X    } ;
  406. X
  407. Xstatic const YY_CHAR yy_ec[256] =
  408. X    {   0,
  409. X        1,    1,    1,    1,    1,    1,    1,    1,    2,    3,
  410. X        1,    4,    1,    1,    1,    1,    1,    1,    1,    1,
  411. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  412. X        1,    5,    1,    6,    7,    8,    9,    1,   10,   11,
  413. X       11,   12,   11,   13,   14,   11,   15,   16,   16,   16,
  414. X       16,   16,   16,   16,   16,   16,   16,    1,    1,   17,
  415. X        1,   18,   11,    1,   24,   25,   26,   27,   28,   29,
  416. X       23,   23,   23,   30,   31,   23,   32,   33,   34,   31,
  417. X       23,   35,   36,   37,   38,   23,   23,   39,   40,   23,
  418. X       19,   20,   21,   22,   23,    1,   24,   25,   26,   27,
  419. X
  420. X       28,   29,   23,   23,   23,   30,   31,   23,   32,   33,
  421. X       34,   31,   23,   35,   36,   37,   38,   23,   23,   39,
  422. X       40,   23,   41,   42,   43,    1,    1,    1,    1,    1,
  423. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  424. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  425. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  426. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  427. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  428. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  429. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  430. X
  431. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  432. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  433. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  434. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  435. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  436. X        1,    1,    1,    1,    1
  437. X    } ;
  438. X
  439. Xstatic const YY_CHAR yy_meta[44] =
  440. X    {   0,
  441. X        1,    2,    3,    2,    2,    4,    1,    1,    1,    5,
  442. X        1,    6,    1,    7,    5,    8,    1,    1,    1,    9,
  443. X       10,    1,   11,   12,   12,   12,   12,   12,   12,   11,
  444. X       11,   11,   11,   11,   11,   11,   11,   11,   11,   11,
  445. X        5,    1,   13
  446. X    } ;
  447. X
  448. Xstatic const short int yy_base[404] =
  449. X    {   0,
  450. X        0,   43,   85,  126, 1371, 1370, 1369, 1353,  168, 1346,
  451. X      104,  108,  211,    0, 1332, 1320,  120,  252,   95,  119,
  452. X      137,  144,  100,  141,  295,    0, 1327, 1323,  113,  336,
  453. X      254,  255,  257,  258,  253,  268,  379,    0,  338,  421,
  454. X        0,    0,  273,  460, 1325, 1442,  281, 1442, 1287,    0,
  455. X      287, 1442, 1279,  472, 1257,    0, 1442,  425, 1442, 1442,
  456. X      147, 1442, 1239, 1235,   78,  513,  433, 1442,   83, 1442,
  457. X     1248,    0, 1247, 1442,    0, 1442,    0, 1218, 1205, 1194,
  458. X        0,  342, 1442, 1442, 1442, 1442, 1202,    0, 1442, 1442,
  459. X     1442, 1442, 1201, 1442, 1442, 1442, 1442,   79, 1442, 1442,
  460. X
  461. X      103, 1198, 1442,    0,  248, 1442,    0, 1442, 1442,  252,
  462. X     1199,    0, 1173, 1158, 1442, 1442, 1185, 1442, 1442, 1442,
  463. X        0, 1442, 1170,    0, 1442, 1152,    0, 1442, 1442,    0,
  464. X        0,  346, 1442, 1123,    0, 1125, 1105,    0,  352, 1442,
  465. X     1116, 1103, 1442,  356, 1442, 1100,  329, 1442,  360, 1093,
  466. X     1101,  333,  441, 1442,  445,    0,  449, 1442, 1101, 1442,
  467. X      365,  453, 1094,  466,    0,  480,  330,    0, 1095, 1442,
  468. X        0,  555, 1442, 1044, 1077, 1442, 1051,  133,  456, 1442,
  469. X     1059,    0,    0, 1442,  584,  563, 1442,    0, 1442, 1071,
  470. X        0, 1442, 1063, 1442,    0,    0, 1010, 1007,  627,    0,
  471. X
  472. X      484, 1442,    0,  998, 1442,  992,    0, 1442, 1442, 1442,
  473. X        0,  421, 1442,    0, 1442,    0,  971,  964,  992, 1442,
  474. X        0,  962,    0, 1442,    0, 1442,    0,  488,  921,  670,
  475. X        0,  717,  714,    0,  497,  715,  712,  569,  573, 1442,
  476. X      727,    0,  577,  726,  581, 1442,  585,    0,  590,  738,
  477. X      597,    0,  712,  683,  691,    0,  670, 1442, 1442,  623,
  478. X     1442,  591, 1442,  458,  702,  590,    0,    0,    0, 1442,
  479. X        0,  576,  569,    0, 1442,  593,  575,    0,  560,  546,
  480. X      567, 1442,    0,    0,  541,  529,  534,  527,  730, 1442,
  481. X      500,    0,  509, 1442,    0,  734, 1442,  468,  467,    0,
  482. X
  483. X      462,  704,  724, 1442,  461,  438, 1442,  440,  425,  433,
  484. X      405,  413,  398, 1442,  404, 1442,  359,  259,  332,  338,
  485. X      346,  334,  331,  257,  253,  226,  137,  133,   81,    0,
  486. X        0,    0,    0,    0,    0,    0,    0, 1442, 1442, 1442,
  487. X      753,  766,  779,  792,  805,  818,  831,  844,  857,  870,
  488. X      883,  896,  909,  922,  935,  948,  955,  967,  980,  986,
  489. X      998, 1011, 1024, 1037, 1050, 1063, 1070, 1082, 1089, 1101,
  490. X     1114, 1127, 1140, 1150, 1157, 1169, 1182, 1195, 1208, 1221,
  491. X     1234, 1241, 1253, 1266, 1279, 1282, 1284, 1296, 1309, 1315,
  492. X     1327, 1339, 1345, 1357, 1363, 1375, 1382, 1388, 1393, 1405,
  493. X
  494. X     1411, 1423, 1429
  495. X    } ;
  496. X
  497. Xstatic const short int yy_def[404] =
  498. X    {   0,
  499. X      340,  340,  341,  341,  342,  342,  343,  343,  340,    9,
  500. X      344,  344,  340,   13,  345,  345,  346,  346,  347,  347,
  501. X      348,  348,  349,  349,  340,   25,  350,  350,  345,  345,
  502. X      351,  351,  352,  352,  353,  353,  340,   37,  354,  354,
  503. X       37,   37,  355,  356,  340,  340,  340,  340,  340,  357,
  504. X      340,  340,  358,  359,  340,  360,  340,  340,  340,  340,
  505. X      340,  340,  340,  361,  362,  340,  340,  340,  340,  340,
  506. X      363,  364,  365,  340,  366,  340,  367,  367,  367,  366,
  507. X      368,  340,  340,  340,  340,  340,  340,  369,  340,  340,
  508. X      340,  340,  340,  340,  340,  340,  340,  362,  340,  340,
  509. X
  510. X      370,  371,  340,  372,  362,  340,  373,  340,  340,  374,
  511. X      340,  375,  375,  375,  340,  340,  376,  340,  340,  340,
  512. X      377,  340,  340,  378,  340,  340,  379,  340,  340,  380,
  513. X      381,  381,  340,  381,  382,  382,  382,  383,  340,  340,
  514. X      383,  383,  340,  340,  340,  340,  384,  340,  340,  340,
  515. X      340,  384,  340,  340,  340,  357,  340,  340,  358,  340,
  516. X      340,  385,  340,  340,  386,  340,  340,  387,  388,  340,
  517. X      360,  340,  340,  340,  389,  340,  340,  361,  361,  340,
  518. X      340,  390,  391,  340,  391,  340,  340,  392,  340,  363,
  519. X      364,  340,  365,  340,  366,  367,  367,  367,  340,  368,
  520. X
  521. X      340,  340,  369,  340,  340,  340,  393,  340,  340,  340,
  522. X      373,  374,  340,  374,  340,  375,  375,  375,  376,  340,
  523. X      377,  394,  378,  340,  379,  340,  381,  381,  381,  340,
  524. X      382,  382,  382,  383,  340,  383,  383,  340,  340,  340,
  525. X      340,  395,  340,  340,  340,  340,  340,  385,  385,  396,
  526. X      340,  397,  396,  340,  340,  398,  388,  340,  340,  389,
  527. X      340,  340,  340,  361,  361,  340,  399,  391,  185,  340,
  528. X      392,  367,  367,  199,  340,  400,  340,  401,  375,  375,
  529. X      394,  340,  230,  402,  382,  382,  383,  383,  340,  340,
  530. X      340,  403,  396,  340,  397,  396,  340,  340,  340,  398,
  531. X
  532. X      340,  361,  265,  340,  367,  367,  340,  375,  375,  382,
  533. X      382,  383,  383,  340,  340,  340,  340,  361,  361,  367,
  534. X      367,  375,  375,  382,  382,  383,  383,  340,  340,  367,
  535. X      367,  375,  375,  382,  382,  383,  383,  340,  340,    0,
  536. X      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
  537. X      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
  538. X      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
  539. X      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
  540. X      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
  541. X      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
  542. X
  543. X      340,  340,  340
  544. X    } ;
  545. X
  546. Xstatic const short int yy_nxt[1486] =
  547. X    {   0,
  548. X       46,   47,   48,   47,   47,   46,   46,   46,   49,   46,
  549. X       46,   46,   46,   46,   46,   46,   46,   46,   46,   46,
  550. X       46,   46,   50,   50,   50,   50,   50,   50,   50,   50,
  551. X       50,   50,   50,   50,   50,   50,   50,   50,   50,   50,
  552. X       46,   46,   46,   46,   51,   52,   51,   51,   46,   53,
  553. X       46,   54,   46,   46,   46,   46,   46,   55,   46,   46,
  554. X       46,   46,   46,   46,   46,   56,   56,   56,   56,   56,
  555. X       56,   56,   56,   56,   56,   56,   56,   56,   56,   56,
  556. X       56,   56,   56,   46,   46,   46,   58,   59,   58,   58,
  557. X       60,  188,   61,  181,  181,   62,   62,   96,  339,   62,
  558. X
  559. X       97,   63,   85,   64,   65,   82,   83,   82,   82,   82,
  560. X       83,   82,   82,  104,   98,  119,  182,  182,  206,  105,
  561. X      106,   96,   91,  189,   97,   66,   62,   67,   68,   67,
  562. X       67,   60,   92,   61,   69,   93,   62,   62,   98,   85,
  563. X       62,  207,   63,   85,   64,   65,   85,   70,  176,  176,
  564. X      100,  176,  179,  263,  104,  120,  101,  100,  102,  338,
  565. X      105,  106,   94,  101,  337,  102,   66,   62,   75,   75,
  566. X       76,   75,   75,   75,   75,   75,   75,   75,   75,   75,
  567. X       75,   75,   75,   75,   75,   75,   75,   75,   75,   75,
  568. X       77,   77,   77,   77,   77,   77,   77,   77,   77,   77,
  569. X
  570. X       77,   77,   78,   77,   77,   77,   77,   79,   75,   75,
  571. X       75,   84,   84,   85,   84,   84,   84,   84,   84,   84,
  572. X       84,   84,   84,   86,   84,   84,   84,   84,   87,   84,
  573. X       84,   84,   84,   88,   88,   88,   88,   88,   88,   88,
  574. X       88,   88,   88,   88,   88,   88,   88,   88,   88,   88,
  575. X       88,   84,   84,   84,   91,  128,  122,  122,  129,  125,
  576. X      125,  213,  336,  181,   92,  123,  123,   93,  126,  126,
  577. X      128,  214,  130,  129,  144,  145,  144,  144,  179,  263,
  578. X      335,  146,  153,  154,  153,  153,  182,  130,  157,  158,
  579. X      157,  157,  147,  334,   94,  107,  107,  108,  107,  107,
  580. X
  581. X      109,  107,  107,  107,  110,  107,  107,  107,  107,  111,
  582. X      107,  107,  107,  107,  107,  107,  107,  112,  112,  112,
  583. X      112,  112,  112,  112,  112,  112,  112,  112,  112,  113,
  584. X      112,  112,  112,  112,  114,  115,  107,  116,  119,  139,
  585. X      140,  139,  139,  201,  241,  201,  201,  228,  241,  228,
  586. X      228,  179,  263,  235,  229,  235,  235,  238,  333,  238,
  587. X      238,  243,  254,  243,  243,  255,  247,  242,  247,  247,
  588. X      332,  242,  141,  331,  330,  244,  329,  142,  120,  131,
  589. X      132,  133,  132,  132,  131,  131,  131,  134,  131,  131,
  590. X      131,  131,  131,  131,  131,  131,  131,  131,  131,  131,
  591. X
  592. X      131,  135,  135,  135,  135,  135,  135,  135,  135,  135,
  593. X      135,  135,  135,  136,  135,  135,  135,  135,  137,  131,
  594. X      131,  131,  139,  140,  139,  139,  172,  173,  172,  172,
  595. X      213,  328,  327,  174,  186,  187,  186,  186,  326,  325,
  596. X      214,  174,  153,  154,  153,  153,  245,  246,  245,  245,
  597. X      157,  158,  157,  157,  249,  141,  249,  249,  324,  323,
  598. X      142,  149,  145,  149,  149,  322,  175,  251,  150,  251,
  599. X      251,  264,  321,  302,  175,  151,  178,  179,  263,  152,
  600. X      162,  245,  246,  245,  253,  201,  320,  201,  201,  228,
  601. X      317,  228,  228,  316,  265,  163,  229,  164,  235,  163,
  602. X
  603. X      235,  235,  163,  315,  163,  163,  164,  165,  166,  167,
  604. X      168,  294,  169,  183,  183,  240,  183,  183,  183,  183,
  605. X      183,  183,  183,  183,  183,  183,  183,  183,  184,  183,
  606. X      183,  183,  183,  183,  183,  185,  185,  185,  185,  185,
  607. X      185,  185,  185,  185,  185,  185,  185,  185,  185,  185,
  608. X      185,  185,  185,  183,  183,  183,  172,  173,  172,  172,
  609. X      313,  312,  311,  174,  186,  187,  186,  186,  310,  282,
  610. X      238,  174,  238,  238,  289,  290,  289,  289,  243,  309,
  611. X      243,  243,  245,  246,  245,  245,  247,  308,  247,  247,
  612. X      205,  249,  244,  249,  249,  275,  175,  269,  251,  269,
  613. X
  614. X      251,  251,  306,  305,  175,  180,  269,  269,  269,  269,
  615. X      269,  269,  269,  269,  269,  269,  269,  269,  269,  269,
  616. X      269,  269,  269,  269,  301,  261,  270,  274,  274,  275,
  617. X      274,  274,  274,  274,  274,  274,  274,  274,  274,  274,
  618. X      274,  274,  274,  274,  274,  274,  274,  274,  274,  276,
  619. X      276,  276,  276,  276,  276,  276,  276,  276,  276,  276,
  620. X      276,  276,  276,  276,  276,  276,  276,  274,  274,  274,
  621. X      283,  283,  258,  283,  283,  283,  283,  283,  283,  283,
  622. X      283,  283,  283,  283,  283,  283,  283,  283,  283,  283,
  623. X      283,  283,  284,  284,  284,  284,  284,  284,  284,  284,
  624. X
  625. X      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,
  626. X      283,  283,  283,  296,  297,  296,  296,  303,  299,  318,
  627. X      298,  179,  263,  179,  263,  303,  303,  303,  303,  303,
  628. X      303,  289,  290,  289,  289,  296,  297,  296,  296,  319,
  629. X      294,  244,  291,  288,  287,  286,  285,  319,  319,  319,
  630. X      319,  319,  319,   57,   57,   57,   57,   57,   57,   57,
  631. X       57,   57,   57,   57,   57,   57,   71,   71,   71,   71,
  632. X       71,   71,   71,   71,   71,   71,   71,   71,   71,   73,
  633. X       73,   73,   73,   73,   73,   73,   73,   73,   73,   73,
  634. X       73,   73,   81,   81,   81,   81,   81,   81,   81,   81,
  635. X
  636. X       81,   81,   81,   81,   81,   85,   85,   85,   85,   85,
  637. X       85,   85,   85,   85,   85,   85,   85,   85,   90,   90,
  638. X       90,   90,   90,   90,   90,   90,   90,   90,   90,   90,
  639. X       90,   95,   95,   95,   95,   95,   95,   95,   95,   95,
  640. X       95,   95,   95,   95,   99,   99,   99,   99,   99,   99,
  641. X       99,   99,   99,   99,   99,   99,   99,  103,  103,  103,
  642. X      103,  103,  103,  103,  103,  103,  103,  103,  103,  103,
  643. X      117,  117,  117,  117,  117,  117,  117,  117,  117,  117,
  644. X      117,  117,  117,  121,  121,  121,  121,  121,  121,  121,
  645. X      121,  121,  121,  121,  121,  121,  124,  124,  124,  124,
  646. X
  647. X      124,  124,  124,  124,  124,  124,  124,  124,  124,  127,
  648. X      127,  127,  127,  127,  127,  127,  127,  127,  127,  127,
  649. X      127,  127,  138,  138,  138,  138,  138,  138,  138,  138,
  650. X      138,  138,  138,  138,  138,  143,  143,  143,  143,  143,
  651. X      143,  143,  143,  143,  143,  143,  143,  143,  148,  148,
  652. X      148,  148,  148,  148,  148,  148,  148,  148,  148,  148,
  653. X      148,  156,  156,  230,  282,  156,  156,  159,  159,  159,
  654. X      159,  159,  159,  159,  159,  159,  159,  159,  159,  159,
  655. X      161,  161,  161,  161,  161,  161,  161,  161,  161,  161,
  656. X      161,  161,  171,  171,  220,  280,  171,  171,  178,  178,
  657. X
  658. X      279,  178,  178,  178,  178,  178,  178,  277,  178,  178,
  659. X      178,  180,  180,  204,  180,  180,  180,  180,  180,  180,
  660. X      180,  180,  180,  180,  190,  190,  190,  190,  190,  190,
  661. X      190,  190,  190,  190,  190,  190,  190,  192,  273,  272,
  662. X      192,  192,  192,  192,  192,  192,  192,  192,  192,  192,
  663. X      193,  193,  193,  193,  193,  193,  193,  193,  193,  193,
  664. X      193,  193,  193,  195,  195,  194,  195,  195,  195,  195,
  665. X      195,  195,  195,  191,  266,  195,  196,  196,  262,  261,
  666. X      196,  196,  200,  200,  259,  200,  200,  200,  200,  200,
  667. X      200,  200,  200,  200,  200,  203,  203,  258,  250,  203,
  668. X
  669. X      203,  205,  205,  160,  205,  205,  205,  205,  205,  205,
  670. X      205,  205,  205,  205,  208,  208,  244,  208,  208,  208,
  671. X      208,  208,  208,  208,  208,  208,  208,  210,  210,  239,
  672. X      210,  210,  210,  210,  210,  210,  239,  210,  210,  210,
  673. X      211,  211,  237,  236,  233,  211,  211,  211,  211,  211,
  674. X      212,  212,  232,  212,  212,  212,  212,  212,  212,  212,
  675. X      212,  212,  212,  216,  216,  230,  224,  216,  216,  219,
  676. X      219,  219,  219,  219,  219,  219,  219,  219,  219,  219,
  677. X      219,  219,  221,  221,  222,  221,  221,  220,  221,  221,
  678. X      221,  221,  221,  221,  221,  223,  223,  218,  223,  223,
  679. X
  680. X      217,  223,  223,  223,  223,  223,  223,  223,  225,  225,
  681. X      215,  209,  225,  225,  225,  225,  204,  225,  225,  225,
  682. X      225,  226,  226,  202,  226,  226,  226,  226,  226,  226,
  683. X      226,  226,  226,  226,  227,  227,  199,  227,  227,  227,
  684. X      227,  227,  227,  227,  198,  197,  227,  231,  231,  194,
  685. X      191,  231,  231,  234,  179,  177,  234,  234,  234,  234,
  686. X      234,  234,  234,  234,  234,  234,  240,  240,  170,  240,
  687. X      240,  240,  240,  240,  240,  240,  240,  240,  240,  248,
  688. X      248,  160,  248,  248,  248,  248,  248,  248,  248,  248,
  689. X      248,  248,  252,  252,  256,  256,  257,  257,  257,  257,
  690. X
  691. X      257,  257,  257,  257,  257,  257,  257,  257,  257,  260,
  692. X      260,  260,  260,  260,  260,  260,  260,  260,  260,  260,
  693. X      260,  260,  267,  155,  340,  118,  267,  268,  268,  118,
  694. X      268,  268,  268,  268,  268,  268,  268,  268,  268,  271,
  695. X      271,   89,  271,  271,  271,  271,  271,  271,  271,  271,
  696. X      271,  271,  278,   89,   80,   74,  278,  281,  281,  281,
  697. X      281,  281,  281,  281,  281,  281,  281,  281,  281,  281,
  698. X      292,   74,   72,   72,  292,  293,  293,  293,  293,  293,
  699. X      293,  293,  293,  293,  293,  293,  293,  293,  295,  295,
  700. X      340,  340,  295,  295,  300,  300,  340,  340,  300,  300,
  701. X
  702. X      304,  340,  340,  340,  304,  276,  276,  276,  276,  276,
  703. X      276,  276,  276,  276,  276,  276,  276,  276,  307,  340,
  704. X      340,  340,  307,  284,  284,  340,  284,  284,  284,  284,
  705. X      284,  284,  284,  284,  284,  284,  314,  340,  340,  340,
  706. X      314,   45,  340,  340,  340,  340,  340,  340,  340,  340,
  707. X      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
  708. X      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
  709. X      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
  710. X      340,  340,  340,  340,  340
  711. X    } ;
  712. X
  713. Xstatic const short int yy_chk[1486] =
  714. X    {   0,
  715. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  716. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  717. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  718. X        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  719. X        1,    1,    1,    2,    2,    2,    2,    2,    2,    2,
  720. X        2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
  721. X        2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
  722. X        2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
  723. X        2,    2,    2,    2,    2,    2,    3,    3,    3,    3,
  724. X        3,   69,    3,   65,   98,    3,    3,   19,  329,    3,
  725. X
  726. X       19,    3,   23,    3,    3,   11,   11,   11,   11,   12,
  727. X       12,   12,   12,   23,   19,   29,   65,   98,  101,   23,
  728. X       23,   20,   17,   69,   20,    3,    3,    4,    4,    4,
  729. X        4,    4,   17,    4,    4,   17,    4,    4,   20,   21,
  730. X        4,  101,    4,   24,    4,    4,   22,    4,   61,   61,
  731. X       21,   61,  178,  178,   24,   29,   21,   22,   21,  328,
  732. X       24,   24,   17,   22,  327,   22,    4,    4,    9,    9,
  733. X        9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
  734. X        9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
  735. X        9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
  736. X
  737. X        9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
  738. X        9,   13,   13,   13,   13,   13,   13,   13,   13,   13,
  739. X       13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
  740. X       13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
  741. X       13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
  742. X       13,   13,   13,   13,   18,   35,   31,   32,   35,   33,
  743. X       34,  110,  326,  105,   18,   31,   32,   18,   33,   34,
  744. X       36,  110,   35,   36,   43,   43,   43,   43,  318,  318,
  745. X      325,   43,   47,   47,   47,   47,  105,   36,   51,   51,
  746. X       51,   51,   43,  324,   18,   25,   25,   25,   25,   25,
  747. X
  748. X       25,   25,   25,   25,   25,   25,   25,   25,   25,   25,
  749. X       25,   25,   25,   25,   25,   25,   25,   25,   25,   25,
  750. X       25,   25,   25,   25,   25,   25,   25,   25,   25,   25,
  751. X       25,   25,   25,   25,   25,   25,   25,   25,   30,   39,
  752. X       39,   39,   39,   82,  147,   82,   82,  132,  152,  132,
  753. X      132,  319,  319,  139,  132,  139,  139,  144,  323,  144,
  754. X      144,  149,  167,  149,  149,  167,  161,  147,  161,  161,
  755. X      322,  152,   39,  321,  320,  149,  317,   39,   30,   37,
  756. X       37,   37,   37,   37,   37,   37,   37,   37,   37,   37,
  757. X       37,   37,   37,   37,   37,   37,   37,   37,   37,   37,
  758. X
  759. X       37,   37,   37,   37,   37,   37,   37,   37,   37,   37,
  760. X       37,   37,   37,   37,   37,   37,   37,   37,   37,   37,
  761. X       37,   37,   40,   40,   40,   40,   58,   58,   58,   58,
  762. X      212,  315,  313,   58,   67,   67,   67,   67,  312,  311,
  763. X      212,   67,  153,  153,  153,  153,  155,  155,  155,  155,
  764. X      157,  157,  157,  157,  162,   40,  162,  162,  310,  309,
  765. X       40,   44,   44,   44,   44,  308,   58,  164,   44,  164,
  766. X      164,  179,  306,  264,   67,   44,  179,  264,  264,   44,
  767. X       54,  166,  166,  166,  166,  201,  305,  201,  201,  228,
  768. X      301,  228,  228,  299,  179,   54,  228,   54,  235,   54,
  769. X
  770. X      235,  235,   54,  298,   54,   54,   54,   54,   54,   54,
  771. X       54,  293,   54,   66,   66,  291,   66,   66,   66,   66,
  772. X       66,   66,   66,   66,   66,   66,   66,   66,   66,   66,
  773. X       66,   66,   66,   66,   66,   66,   66,   66,   66,   66,
  774. X       66,   66,   66,   66,   66,   66,   66,   66,   66,   66,
  775. X       66,   66,   66,   66,   66,   66,  172,  172,  172,  172,
  776. X      288,  287,  286,  172,  186,  186,  186,  186,  285,  281,
  777. X      238,  186,  238,  238,  239,  239,  239,  239,  243,  280,
  778. X      243,  243,  245,  245,  245,  245,  247,  279,  247,  247,
  779. X      277,  249,  243,  249,  249,  276,  172,  185,  251,  185,
  780. X
  781. X      251,  251,  273,  272,  186,  266,  185,  185,  185,  185,
  782. X      185,  185,  185,  185,  185,  185,  185,  185,  185,  185,
  783. X      185,  185,  185,  185,  262,  260,  185,  199,  199,  199,
  784. X      199,  199,  199,  199,  199,  199,  199,  199,  199,  199,
  785. X      199,  199,  199,  199,  199,  199,  199,  199,  199,  199,
  786. X      199,  199,  199,  199,  199,  199,  199,  199,  199,  199,
  787. X      199,  199,  199,  199,  199,  199,  199,  199,  199,  199,
  788. X      230,  230,  257,  230,  230,  230,  230,  230,  230,  230,
  789. X      230,  230,  230,  230,  230,  230,  230,  230,  230,  230,
  790. X      230,  230,  230,  230,  230,  230,  230,  230,  230,  230,
  791. X
  792. X      230,  230,  230,  230,  230,  230,  230,  230,  230,  230,
  793. X      230,  230,  230,  253,  253,  253,  253,  265,  255,  302,
  794. X      254,  265,  265,  302,  302,  265,  265,  265,  265,  265,
  795. X      265,  289,  289,  289,  289,  296,  296,  296,  296,  303,
  796. X      250,  244,  241,  237,  236,  233,  232,  303,  303,  303,
  797. X      303,  303,  303,  341,  341,  341,  341,  341,  341,  341,
  798. X      341,  341,  341,  341,  341,  341,  342,  342,  342,  342,
  799. X      342,  342,  342,  342,  342,  342,  342,  342,  342,  343,
  800. X      343,  343,  343,  343,  343,  343,  343,  343,  343,  343,
  801. X      343,  343,  344,  344,  344,  344,  344,  344,  344,  344,
  802. X
  803. X      344,  344,  344,  344,  344,  345,  345,  345,  345,  345,
  804. X      345,  345,  345,  345,  345,  345,  345,  345,  346,  346,
  805. X      346,  346,  346,  346,  346,  346,  346,  346,  346,  346,
  806. X      346,  347,  347,  347,  347,  347,  347,  347,  347,  347,
  807. X      347,  347,  347,  347,  348,  348,  348,  348,  348,  348,
  808. X      348,  348,  348,  348,  348,  348,  348,  349,  349,  349,
  809. X      349,  349,  349,  349,  349,  349,  349,  349,  349,  349,
  810. X      350,  350,  350,  350,  350,  350,  350,  350,  350,  350,
  811. X      350,  350,  350,  351,  351,  351,  351,  351,  351,  351,
  812. X      351,  351,  351,  351,  351,  351,  352,  352,  352,  352,
  813. X
  814. X      352,  352,  352,  352,  352,  352,  352,  352,  352,  353,
  815. X      353,  353,  353,  353,  353,  353,  353,  353,  353,  353,
  816. X      353,  353,  354,  354,  354,  354,  354,  354,  354,  354,
  817. X      354,  354,  354,  354,  354,  355,  355,  355,  355,  355,
  818. X      355,  355,  355,  355,  355,  355,  355,  355,  356,  356,
  819. X      356,  356,  356,  356,  356,  356,  356,  356,  356,  356,
  820. X      356,  357,  357,  229,  222,  357,  357,  358,  358,  358,
  821. X      358,  358,  358,  358,  358,  358,  358,  358,  358,  358,
  822. X      359,  359,  359,  359,  359,  359,  359,  359,  359,  359,
  823. X      359,  359,  360,  360,  219,  218,  360,  360,  361,  361,
  824. X
  825. X      217,  361,  361,  361,  361,  361,  361,  206,  361,  361,
  826. X      361,  362,  362,  204,  362,  362,  362,  362,  362,  362,
  827. X      362,  362,  362,  362,  363,  363,  363,  363,  363,  363,
  828. X      363,  363,  363,  363,  363,  363,  363,  364,  198,  197,
  829. X      364,  364,  364,  364,  364,  364,  364,  364,  364,  364,
  830. X      365,  365,  365,  365,  365,  365,  365,  365,  365,  365,
  831. X      365,  365,  365,  366,  366,  193,  366,  366,  366,  366,
  832. X      366,  366,  366,  190,  181,  366,  367,  367,  177,  175,
  833. X      367,  367,  368,  368,  174,  368,  368,  368,  368,  368,
  834. X      368,  368,  368,  368,  368,  369,  369,  169,  163,  369,
  835. X
  836. X      369,  370,  370,  159,  370,  370,  370,  370,  370,  370,
  837. X      370,  370,  370,  370,  371,  371,  151,  371,  371,  371,
  838. X      371,  371,  371,  371,  371,  371,  371,  372,  372,  150,
  839. X      372,  372,  372,  372,  372,  372,  146,  372,  372,  372,
  840. X      373,  373,  142,  141,  137,  373,  373,  373,  373,  373,
  841. X      374,  374,  136,  374,  374,  374,  374,  374,  374,  374,
  842. X      374,  374,  374,  375,  375,  134,  126,  375,  375,  376,
  843. X      376,  376,  376,  376,  376,  376,  376,  376,  376,  376,
  844. X      376,  376,  377,  377,  123,  377,  377,  117,  377,  377,
  845. X      377,  377,  377,  377,  377,  378,  378,  114,  378,  378,
  846. X
  847. X      113,  378,  378,  378,  378,  378,  378,  378,  379,  379,
  848. X      111,  102,  379,  379,  379,  379,   93,  379,  379,  379,
  849. X      379,  380,  380,   87,  380,  380,  380,  380,  380,  380,
  850. X      380,  380,  380,  380,  381,  381,   80,  381,  381,  381,
  851. X      381,  381,  381,  381,   79,   78,  381,  382,  382,   73,
  852. X       71,  382,  382,  383,   64,   63,  383,  383,  383,  383,
  853. X      383,  383,  383,  383,  383,  383,  384,  384,   55,  384,
  854. X      384,  384,  384,  384,  384,  384,  384,  384,  384,  385,
  855. X      385,   53,  385,  385,  385,  385,  385,  385,  385,  385,
  856. X      385,  385,  386,  386,  387,  387,  388,  388,  388,  388,
  857. X
  858. X      388,  388,  388,  388,  388,  388,  388,  388,  388,  389,
  859. X      389,  389,  389,  389,  389,  389,  389,  389,  389,  389,
  860. X      389,  389,  390,   49,   45,   28,  390,  391,  391,   27,
  861. X      391,  391,  391,  391,  391,  391,  391,  391,  391,  392,
  862. X      392,   16,  392,  392,  392,  392,  392,  392,  392,  392,
  863. X      392,  392,  393,   15,   10,    8,  393,  394,  394,  394,
  864. X      394,  394,  394,  394,  394,  394,  394,  394,  394,  394,
  865. X      395,    7,    6,    5,  395,  396,  396,  396,  396,  396,
  866. X      396,  396,  396,  396,  396,  396,  396,  396,  397,  397,
  867. X        0,    0,  397,  397,  398,  398,    0,    0,  398,  398,
  868. X
  869. X      399,    0,    0,    0,  399,  400,  400,  400,  400,  400,
  870. X      400,  400,  400,  400,  400,  400,  400,  400,  401,    0,
  871. X        0,    0,  401,  402,  402,    0,  402,  402,  402,  402,
  872. X      402,  402,  402,  402,  402,  402,  403,    0,    0,    0,
  873. X      403,  340,  340,  340,  340,  340,  340,  340,  340,  340,
  874. X      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
  875. X      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
  876. X      340,  340,  340,  340,  340,  340,  340,  340,  340,  340,
  877. X      340,  340,  340,  340,  340
  878. X    } ;
  879. X
  880. Xstatic yy_state_type yy_last_accepting_state;
  881. Xstatic YY_CHAR *yy_last_accepting_cpos;
  882. X
  883. X/* the intent behind this definition is that it'll catch
  884. X * any uses of REJECT which flex missed
  885. X */
  886. X#define REJECT reject_used_but_not_detected
  887. X#define yymore() yymore_used_but_not_detected
  888. X#define YY_MORE_ADJ 0
  889. X
  890. X/* these variables are all declared out here so that section 3 code can
  891. X * manipulate them
  892. X */
  893. X/* points to current character in buffer */
  894. Xstatic YY_CHAR *yy_c_buf_p = (YY_CHAR *) 0;
  895. Xstatic int yy_init = 1;        /* whether we need to initialize */
  896. Xstatic int yy_start = 0;    /* start state number */
  897. X
  898. X/* flag which is used to allow yywrap()'s to do buffer switches
  899. X * instead of setting up a fresh yyin.  A bit of a hack ...
  900. X */
  901. Xstatic int yy_did_buffer_switch_on_eof;
  902. X
  903. Xstatic yy_state_type yy_get_previous_state YY_PROTO(( void ));
  904. Xstatic yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
  905. Xstatic int yy_get_next_buffer YY_PROTO(( void ));
  906. Xstatic void yyunput YY_PROTO(( YY_CHAR c, YY_CHAR *buf_ptr ));
  907. Xvoid yyrestart YY_PROTO(( FILE *input_file ));
  908. Xvoid yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
  909. Xvoid yy_load_buffer_state YY_PROTO(( void ));
  910. XYY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
  911. Xvoid yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
  912. Xvoid yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
  913. X
  914. X#define yy_new_buffer yy_create_buffer
  915. X
  916. X#ifdef __cplusplus
  917. Xstatic int yyinput YY_PROTO(( void ));
  918. X#else
  919. Xstatic int input YY_PROTO(( void ));
  920. X#endif
  921. X
  922. XYY_DECL
  923. X    {
  924. X    register yy_state_type yy_current_state;
  925. X    register YY_CHAR *yy_cp, *yy_bp;
  926. X    register int yy_act;
  927. X
  928. X
  929. X    static int bracelevel, didadef;
  930. X    int i, indented_code, checking_used, new_xlation;
  931. X    int doing_codeblock = false;
  932. X    Char nmdef[MAXLINE], myesc();
  933. X
  934. X
  935. X    if ( yy_init )
  936. X    {
  937. X    YY_USER_INIT;
  938. X
  939. X    if ( ! yy_start )
  940. X        yy_start = 1;    /* first start state */
  941. X
  942. X    if ( ! yyin )
  943. X        yyin = stdin;
  944. X
  945. X    if ( ! yyout )
  946. X        yyout = stdout;
  947. X
  948. X    if ( yy_current_buffer )
  949. X        yy_init_buffer( yy_current_buffer, yyin );
  950. X    else
  951. X        yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
  952. X
  953. X    yy_load_buffer_state();
  954. X
  955. X    yy_init = 0;
  956. X    }
  957. X
  958. X    while ( 1 )        /* loops until end-of-file is reached */
  959. X    {
  960. X    yy_cp = yy_c_buf_p;
  961. X
  962. X    /* support of yytext */
  963. X    *yy_cp = yy_hold_char;
  964. X
  965. X    /* yy_bp points to the position in yy_ch_buf of the start of the
  966. X     * current run.
  967. X     */
  968. X    yy_bp = yy_cp;
  969. X
  970. X    yy_current_state = yy_start;
  971. X    if ( yy_bp[-1] == '\n' )
  972. X        ++yy_current_state;
  973. Xyy_match:
  974. X    do
  975. X        {
  976. X        register YY_CHAR yy_c = yy_ec[*yy_cp];
  977. X        if ( yy_accept[yy_current_state] )
  978. X        {
  979. X        yy_last_accepting_state = yy_current_state;
  980. X        yy_last_accepting_cpos = yy_cp;
  981. X        }
  982. X        while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  983. X        {
  984. X        yy_current_state = yy_def[yy_current_state];
  985. X        if ( yy_current_state >= 341 )
  986. X            yy_c = yy_meta[yy_c];
  987. X        }
  988. X        yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  989. X        ++yy_cp;
  990. X        }
  991. X    while ( yy_current_state != 340 );
  992. X    yy_cp = yy_last_accepting_cpos;
  993. X    yy_current_state = yy_last_accepting_state;
  994. X
  995. Xyy_find_action:
  996. X    yy_act = yy_accept[yy_current_state];
  997. X
  998. X    YY_DO_BEFORE_ACTION;
  999. X    YY_USER_ACTION;
  1000. X
  1001. Xdo_action:    /* this label is used only to access EOF actions */
  1002. X
  1003. X
  1004. X    switch ( yy_act )
  1005. X        {
  1006. X        case 0: /* must backtrack */
  1007. X        /* undo the effects of YY_DO_BEFORE_ACTION */
  1008. X        *yy_cp = yy_hold_char;
  1009. X        yy_cp = yy_last_accepting_cpos;
  1010. X        yy_current_state = yy_last_accepting_state;
  1011. X        goto yy_find_action;
  1012. X
  1013. Xcase 1:
  1014. X# line 90 "scan.l"
  1015. Xindented_code = true; BEGIN(CODEBLOCK);
  1016. X    YY_BREAK
  1017. Xcase 2:
  1018. X# line 91 "scan.l"
  1019. X++linenum; /* treat as a comment */
  1020. X    YY_BREAK
  1021. Xcase 3:
  1022. X# line 92 "scan.l"
  1023. XECHO; BEGIN(C_COMMENT);
  1024. X    YY_BREAK
  1025. Xcase 4:
  1026. X# line 93 "scan.l"
  1027. Xreturn ( SCDECL );
  1028. X    YY_BREAK
  1029. Xcase 5:
  1030. X# line 94 "scan.l"
  1031. Xreturn ( XSCDECL );
  1032. X    YY_BREAK
  1033. Xcase 6:
  1034. X# line 95 "scan.l"
  1035. X{
  1036. X            ++linenum;
  1037. X            line_directive_out( stdout );
  1038. X            indented_code = false;
  1039. X            BEGIN(CODEBLOCK);
  1040. X            }
  1041. X    YY_BREAK
  1042. Xcase 7:
  1043. X# line 102 "scan.l"
  1044. Xreturn ( WHITESPACE );
  1045. X    YY_BREAK
  1046. Xcase 8:
  1047. X# line 104 "scan.l"
  1048. X{
  1049. X            sectnum = 2;
  1050. X            line_directive_out( stdout );
  1051. X            BEGIN(SECT2PROLOG);
  1052. X            return ( SECTEND );
  1053. X            }
  1054. X    YY_BREAK
  1055. Xcase 9:
  1056. X# line 111 "scan.l"
  1057. X{
  1058. X    pinpoint_message( "warning - %%used/%%unused have been deprecated" );
  1059. X            checking_used = REALLY_USED; BEGIN(USED_LIST);
  1060. X            }
  1061. X    YY_BREAK
  1062. Xcase 10:
  1063. X# line 115 "scan.l"
  1064. X{
  1065. X            checking_used = REALLY_NOT_USED; BEGIN(USED_LIST);
  1066. X    pinpoint_message( "warning - %%used/%%unused have been deprecated" );
  1067. X            checking_used = REALLY_NOT_USED; BEGIN(USED_LIST);
  1068. X            }
  1069. X    YY_BREAK
  1070. Xcase 11:
  1071. X# line 122 "scan.l"
  1072. X{
  1073. X#ifdef NOTDEF
  1074. X            fprintf( stderr,
  1075. X                 "old-style lex command at line %d ignored:\n\t%s",
  1076. X                 linenum, yytext );
  1077. X#endif
  1078. X            ++linenum;
  1079. X            }
  1080. X    YY_BREAK
  1081. Xcase 12:
  1082. X# line 131 "scan.l"
  1083. X/* ignore old lex directive */
  1084. X    YY_BREAK
  1085. Xcase 13:
  1086. X# line 133 "scan.l"
  1087. X{
  1088. X            ++linenum;
  1089. X            xlation =
  1090. X                (int *) malloc( sizeof( int ) * (unsigned) csize );
  1091. X
  1092. X            if ( ! xlation )
  1093. X                flexfatal(
  1094. X                "dynamic memory failure building %t table" );
  1095. X
  1096. X            for ( i = 0; i < csize; ++i )
  1097. X                xlation[i] = 0;
  1098. X
  1099. X            num_xlations = 0;
  1100. X
  1101. X            BEGIN(XLATION);
  1102. X            }
  1103. X    YY_BREAK
  1104. Xcase 14:
  1105. X# line 150 "scan.l"
  1106. Xsynerr( "unrecognized '%' directive" );
  1107. X    YY_BREAK
  1108. Xcase 15:
  1109. X# line 152 "scan.l"
  1110. X{
  1111. X            (void) strcpy( nmstr, (char *) yytext );
  1112. X            didadef = false;
  1113. X            BEGIN(PICKUPDEF);
  1114. X            }
  1115. X    YY_BREAK
  1116. Xcase 16:
  1117. X# line 158 "scan.l"
  1118. XRETURNNAME;
  1119. X    YY_BREAK
  1120. Xcase 17:
  1121. X# line 159 "scan.l"
  1122. X++linenum; /* allows blank lines in section 1 */
  1123. X    YY_BREAK
  1124. Xcase 18:
  1125. X# line 160 "scan.l"
  1126. X++linenum; return ( '\n' );
  1127. X    YY_BREAK
  1128. Xcase 19:
  1129. X# line 161 "scan.l"
  1130. Xsynerr( "illegal character" ); BEGIN(RECOVER);
  1131. X    YY_BREAK
  1132. Xcase 20:
  1133. X# line 164 "scan.l"
  1134. XECHO; BEGIN(INITIAL);
  1135. X    YY_BREAK
  1136. Xcase 21:
  1137. X# line 165 "scan.l"
  1138. X++linenum; ECHO; BEGIN(INITIAL);
  1139. X    YY_BREAK
  1140. Xcase 22:
  1141. X# line 166 "scan.l"
  1142. XECHO;
  1143. X    YY_BREAK
  1144. Xcase 23:
  1145. X# line 167 "scan.l"
  1146. XECHO;
  1147. X    YY_BREAK
  1148. Xcase 24:
  1149. X# line 168 "scan.l"
  1150. X++linenum; ECHO;
  1151. X    YY_BREAK
  1152. Xcase 25:
  1153. X# line 171 "scan.l"
  1154. X++linenum; BEGIN(INITIAL);
  1155. X    YY_BREAK
  1156. Xcase 26:
  1157. X# line 172 "scan.l"
  1158. XECHO; CHECK_REJECT(yytext);
  1159. X    YY_BREAK
  1160. Xcase 27:
  1161. X# line 173 "scan.l"
  1162. XECHO; CHECK_YYMORE(yytext);
  1163. X    YY_BREAK
  1164. Xcase 28:
  1165. X# line 174 "scan.l"
  1166. XECHO;
  1167. X    YY_BREAK
  1168. Xcase 29:
  1169. X# line 175 "scan.l"
  1170. X{
  1171. X            ++linenum;
  1172. X            ECHO;
  1173. X            if ( indented_code )
  1174. X                BEGIN(INITIAL);
  1175. X            }
  1176. X    YY_BREAK
  1177. Xcase 30:
  1178. X# line 183 "scan.l"
  1179. X/* separates name and definition */
  1180. X    YY_BREAK
  1181. Xcase 31:
  1182. X# line 185 "scan.l"
  1183. X{
  1184. X            (void) strcpy( (char *) nmdef, (char *) yytext );
  1185. X
  1186. X            for ( i = strlen( (char *) nmdef ) - 1;
  1187. X                  i >= 0 &&
  1188. X                  nmdef[i] == ' ' || nmdef[i] == '\t';
  1189. X                  --i )
  1190. X                ;
  1191. X
  1192. X            nmdef[i + 1] = '\0';
  1193. X
  1194. X                        ndinstal( nmstr, nmdef );
  1195. X            didadef = true;
  1196. X            }
  1197. X    YY_BREAK
  1198. Xcase 32:
  1199. X# line 200 "scan.l"
  1200. X{
  1201. X            if ( ! didadef )
  1202. X                synerr( "incomplete name definition" );
  1203. X            BEGIN(INITIAL);
  1204. X            ++linenum;
  1205. X            }
  1206. X    YY_BREAK
  1207. Xcase 33:
  1208. X# line 207 "scan.l"
  1209. X++linenum; BEGIN(INITIAL); RETURNNAME;
  1210. X    YY_BREAK
  1211. Xcase 34:
  1212. X# line 210 "scan.l"
  1213. X++linenum; BEGIN(INITIAL);
  1214. X    YY_BREAK
  1215. Xcase 35:
  1216. X# line 211 "scan.l"
  1217. X
  1218. X    YY_BREAK
  1219. Xcase 36:
  1220. X# line 212 "scan.l"
  1221. X{
  1222. X            if ( all_upper( yytext ) )
  1223. X                reject_really_used = checking_used;
  1224. X            else
  1225. X                synerr( "unrecognized %used/%unused construct" );
  1226. X            }
  1227. X    YY_BREAK
  1228. Xcase 37:
  1229. X# line 218 "scan.l"
  1230. X{
  1231. X            if ( all_lower( yytext ) )
  1232. X                yymore_really_used = checking_used;
  1233. X            else
  1234. X                synerr( "unrecognized %used/%unused construct" );
  1235. X            }
  1236. X    YY_BREAK
  1237. Xcase 38:
  1238. X# line 224 "scan.l"
  1239. Xsynerr( "unrecognized %used/%unused construct" );
  1240. X    YY_BREAK
  1241. Xcase 39:
  1242. X# line 227 "scan.l"
  1243. X++linenum; BEGIN(INITIAL);
  1244. X    YY_BREAK
  1245. Xcase 40:
  1246. X# line 228 "scan.l"
  1247. X++num_xlations; new_xlation = true;
  1248. X    YY_BREAK
  1249. Xcase 41:
  1250. X# line 229 "scan.l"
  1251. Xsynerr( "bad row in translation table" );
  1252. X    YY_BREAK
  1253. Xcase 42:
  1254. X# line 230 "scan.l"
  1255. X/* ignore whitespace */
  1256. X    YY_BREAK
  1257. Xcase 43:
  1258. X# line 232 "scan.l"
  1259. X{
  1260. X            xlation[myesc( yytext )] =
  1261. X                (new_xlation ? num_xlations : -num_xlations);
  1262. X            new_xlation = false;
  1263. X            }
  1264. X    YY_BREAK
  1265. Xcase 44:
  1266. X# line 237 "scan.l"
  1267. X{
  1268. X            xlation[yytext[0]] =
  1269. X                (new_xlation ? num_xlations : -num_xlations);
  1270. X            new_xlation = false;
  1271. X            }
  1272. X    YY_BREAK
  1273. Xcase 45:
  1274. X# line 243 "scan.l"
  1275. X++linenum;
  1276. X    YY_BREAK
  1277. Xcase 46:
  1278. X*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
  1279. Xyy_c_buf_p = yy_cp -= 1;
  1280. XYY_DO_BEFORE_ACTION; /* set up yytext again */
  1281. X# line 246 "scan.l"
  1282. X{
  1283. X            ++linenum;
  1284. X            ACTION_ECHO;
  1285. X            MARK_END_OF_PROLOG;
  1286. X            BEGIN(SECT2);
  1287. X            }
  1288. X    YY_BREAK
  1289. Xcase 47:
  1290. X# line 253 "scan.l"
  1291. X++linenum; ACTION_ECHO;
  1292. X    YY_BREAK
  1293. Xcase YY_STATE_EOF(SECT2PROLOG):
  1294. X# line 255 "scan.l"
  1295. XMARK_END_OF_PROLOG; yyterminate();
  1296. X    YY_BREAK
  1297. Xcase 49:
  1298. X# line 257 "scan.l"
  1299. X++linenum; /* allow blank lines in section 2 */
  1300. X    YY_BREAK
  1301. Xcase 50:
  1302. X# line 259 "scan.l"
  1303. X{
  1304. X            indented_code = (yytext[0] != '%');
  1305. X            doing_codeblock = true;
  1306. X            bracelevel = 1;
  1307. X
  1308. X            if ( indented_code )
  1309. X                ACTION_ECHO;
  1310. X
  1311. X            BEGIN(CODEBLOCK_2);
  1312. X            }
  1313. X    YY_BREAK
  1314. Xcase 51:
  1315. X# line 270 "scan.l"
  1316. XBEGIN(SC); return ( '<' );
  1317. X    YY_BREAK
  1318. Xcase 52:
  1319. X# line 271 "scan.l"
  1320. Xreturn ( '^' );
  1321. X    YY_BREAK
  1322. Xcase 53:
  1323. X# line 272 "scan.l"
  1324. XBEGIN(QUOTE); return ( '"' );
  1325. X    YY_BREAK
  1326. Xcase 54:
  1327. X*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
  1328. Xyy_c_buf_p = yy_cp = yy_bp + 1;
  1329. XYY_DO_BEFORE_ACTION; /* set up yytext again */
  1330. X# line 273 "scan.l"
  1331. XBEGIN(NUM); return ( '{' );
  1332. X    YY_BREAK
  1333. Xcase 55:
  1334. X# line 274 "scan.l"
  1335. XBEGIN(BRACEERROR);
  1336. X    YY_BREAK
  1337. Xcase 56:
  1338. X*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
  1339. Xyy_c_buf_p = yy_cp = yy_bp + 1;
  1340. XYY_DO_BEFORE_ACTION; /* set up yytext again */
  1341. X# line 275 "scan.l"
  1342. Xreturn ( '$' );
  1343. X    YY_BREAK
  1344. Xcase 57:
  1345. X# line 277 "scan.l"
  1346. X{
  1347. X            bracelevel = 1;
  1348. X            BEGIN(PERCENT_BRACE_ACTION);
  1349. X            return ( '\n' );
  1350. X            }
  1351. X    YY_BREAK
  1352. Xcase 58:
  1353. X# line 282 "scan.l"
  1354. Xcontinued_action = true; ++linenum; return ( '\n' );
  1355. X    YY_BREAK
  1356. Xcase 59:
  1357. X# line 284 "scan.l"
  1358. X{
  1359. X            /* this rule is separate from the one below because
  1360. X             * otherwise we get variable trailing context, so
  1361. X             * we can't build the scanner using -{f,F}
  1362. X             */
  1363. X            bracelevel = 0;
  1364. X            continued_action = false;
  1365. X            BEGIN(ACTION);
  1366. X            return ( '\n' );
  1367. X            }
  1368. X    YY_BREAK
  1369. Xcase 60:
  1370. X*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
  1371. Xyy_c_buf_p = yy_cp -= 1;
  1372. XYY_DO_BEFORE_ACTION; /* set up yytext again */
  1373. X# line 295 "scan.l"
  1374. X{
  1375. X            bracelevel = 0;
  1376. X            continued_action = false;
  1377. X            BEGIN(ACTION);
  1378. X            return ( '\n' );
  1379. X            }
  1380. X    YY_BREAK
  1381. Xcase 61:
  1382. X# line 302 "scan.l"
  1383. X++linenum; return ( '\n' );
  1384. X    YY_BREAK
  1385. Xcase 62:
  1386. X# line 304 "scan.l"
  1387. Xreturn ( EOF_OP );
  1388. X    YY_BREAK
  1389. Xcase 63:
  1390. X# line 306 "scan.l"
  1391. X{
  1392. X            sectnum = 3;
  1393. X            BEGIN(SECT3);
  1394. X            return ( EOF ); /* to stop the parser */
  1395. X            }
  1396. X    YY_BREAK
  1397. Xcase 64:
  1398. X# line 312 "scan.l"
  1399. X{
  1400. X            int cclval;
  1401. X
  1402. X            (void) strcpy( nmstr, (char *) yytext );
  1403. X
  1404. X            /* check to see if we've already encountered this ccl */
  1405. X            if ( (cclval = ccllookup( (Char *) nmstr )) )
  1406. X                {
  1407. X                yylval = cclval;
  1408. X                ++cclreuse;
  1409. X                return ( PREVCCL );
  1410. X                }
  1411. X            else
  1412. X                {
  1413. X                /* we fudge a bit.  We know that this ccl will
  1414. X                 * soon be numbered as lastccl + 1 by cclinit
  1415. X                 */
  1416. X                cclinstal( (Char *) nmstr, lastccl + 1 );
  1417. X
  1418. X                /* push back everything but the leading bracket
  1419. X                 * so the ccl can be rescanned
  1420. X                 */
  1421. X                PUT_BACK_STRING((Char *) nmstr, 1);
  1422. X
  1423. X                BEGIN(FIRSTCCL);
  1424. X                return ( '[' );
  1425. X                }
  1426. X            }
  1427. X    YY_BREAK
  1428. Xcase 65:
  1429. X# line 341 "scan.l"
  1430. X{
  1431. X            register Char *nmdefptr;
  1432. X            Char *ndlookup();
  1433. X
  1434. X            (void) strcpy( nmstr, (char *) yytext );
  1435. X            nmstr[yyleng - 1] = '\0';  /* chop trailing brace */
  1436. X
  1437. X            /* lookup from "nmstr + 1" to chop leading brace */
  1438. X            if ( ! (nmdefptr = ndlookup( nmstr + 1 )) )
  1439. X                synerr( "undefined {name}" );
  1440. X
  1441. X            else
  1442. X                { /* push back name surrounded by ()'s */
  1443. X                unput(')');
  1444. X                PUT_BACK_STRING(nmdefptr, 0);
  1445. X                unput('(');
  1446. X                }
  1447. X            }
  1448. X    YY_BREAK
  1449. Xcase 66:
  1450. X# line 360 "scan.l"
  1451. Xreturn ( yytext[0] );
  1452. X    YY_BREAK
  1453. Xcase 67:
  1454. X# line 361 "scan.l"
  1455. XRETURNCHAR;
  1456. X    YY_BREAK
  1457. Xcase 68:
  1458. X# line 362 "scan.l"
  1459. X++linenum; return ( '\n' );
  1460. X    YY_BREAK
  1461. Xcase 69:
  1462. X# line 365 "scan.l"
  1463. Xreturn ( ',' );
  1464. X    YY_BREAK
  1465. Xcase 70:
  1466. X# line 366 "scan.l"
  1467. XBEGIN(SECT2); return ( '>' );
  1468. X    YY_BREAK
  1469. Xcase 71:
  1470. END_OF_FILE
  1471.   if test 49644 -ne `wc -c <'initscan.c.01'`; then
  1472.     echo shar: \"'initscan.c.01'\" unpacked with wrong size!
  1473.   fi
  1474.   # end of 'initscan.c.01'
  1475. fi
  1476. echo shar: End of archive 3 \(of 10\).
  1477. cp /dev/null ark3isdone
  1478. MISSING=""
  1479. for I in 1 2 3 4 5 6 7 8 9 10 ; do
  1480.     if test ! -f ark${I}isdone ; then
  1481.     MISSING="${MISSING} ${I}"
  1482.     fi
  1483. done
  1484. if test "${MISSING}" = "" ; then
  1485.     echo You have unpacked all 10 archives.
  1486.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1487. else
  1488.     echo You still must unpack the following archives:
  1489.     echo "        " ${MISSING}
  1490. fi
  1491. exit 0
  1492. exit 0 # Just in case...
  1493.